<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="shared/css_js::header">
	<title>jQuery WeUI</title>
	<link rel="stylesheet" type="text/css" href="/static/css/weuicss/weui.min.css"/>
</head>

<body>

<header class="mui-bar mui-bar-nav">
	<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
	<h1 class="mui-title"><font size="4"><b th:text="${brandname}" th:data="${carbrand}"></b></font></h1>
</header>

<div class="mui-content ">
	<div class="block-brand" th:each="carfactory:${carfactory}">
		<h3 id="brand-jump-A" data-tips="A" style="background: #f8f8f8;" th:text="${carfactory.carfactname}">一汽大众</h3>
		<ul class="list-line list-line-logo">
			<li th:each="carline:${carline}" th:if="${carline.carfactid==carfactory.carfactid}" th:onclick="'javascript:choosecarvol(this,\''+${carbrand}+'\')'">
				<span th:text="${carline.carlinename}" th:data="${carline.carlineid}" class="carlinename">迈腾</span>
			</li>
		</ul>
	</div>
	<div class="weui-cells__title" align="center">没有再多内容啦</div><!--间隔一下-->
</div>

<input id="flag" type="hidden" th:value="${flag}"/>
<input id="busiid" type="hidden" th:value="${busiid}"/>
<input id="shopid" type="hidden" th:value="${shopid}"/>
<link rel="stylesheet" type="text/css" th:href="@{/css/personcss/carline.css}"/>
</body>
<script th:inline="javascript">
    /*<![CDATA[*/
/*选完车系后选排量,同时把品牌和车系传过去*/
function choosecarvol($this,carbrand) {
    var carlineid=$($this).find(".carlinename").attr("data");
    var flag=$("#flag").val();
    var busiid=$("#busiid").val();
    var shopid=$("#shopid").val();
	location.href="/person/choosecarvol?carlineid="+carlineid+"&carbrand="+carbrand+"&flag="+flag+"&busiid="+busiid+"&shopid="+shopid;

}
    /*]]>*/
</script>
</html>
